package com.groupfive.mapper;

import com.groupfive.pojo.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {

    List<Article> selectAll(Article article);

    Article selectById(Long id);

    int insert(Article article);

    int update(Article article);

    int deleteById(Long id);

}
